package mercurius.fitness.client.rb.message;

import java.util.Date;

import net.pleso.framework.client.dal.db.types.DBDate;
import net.pleso.framework.client.dal.db.types.DBInteger;
import net.pleso.framework.client.dal.db.types.DBString;
import net.pleso.framework.client.dal.db.types.DBTime;

public class MessageInfo {
	
	private Integer id = DBInteger.nullValue;
	private String message = DBString.nullValue;
	private Date date = DBDate.nullValue;
	private Date time = DBTime.nullValue;
	private String level = DBString.nullValue;
	
	public MessageInfo() {}
	
	public MessageInfo(Integer id, 
					Date date,
					String level,
					String message
						) {
		this.id = id;
		this.message = message;
		this.level = level;
		this.date = date;
		this.time = date;
		
	}

	public Integer getID() {
		return id;
	}
	
	public void setID(Integer i) {
		id = i;
	}
	
	public Date getDate() {
		return date;
	}
	
	public void setDate(Date d) {
		date = d;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String d) {
		message = d;
	}
	
	public String getLevel() {
		return level;
	}

	public void setLevel(String d) {
		level = d;
	}

}
